<?
    /* -*- Mode: PHP5; tab-width: 4; indent-tabs-mode: nil; basic-offset: 4 -*- */
    
    /*********************************************************
    *            --== InArch ==--
    *
    * Ajax Abstraction Layer
    *
    * @author Kulikov Alexey <a.kulikov@gmail.com>
    * @version n/a
    * @since 02.09.2005
    * @copyright essentialmind.com 2005
    *
    *********************************************************/

    /***
    * Abstract Class cronJob
    ****
    * This is a signature class for all the possible cron jobs 
    * that can take place
    ****
    * @package cron
    * @author A Kulikov <a.kulikov@gmail.com>
    * @version n/a
    * @since 02.09.2005
    * @copyright essentialmind.com 2005
    ***/
    abstract class cronJob{
    
        /**
         * reference to the ADODB Connection
         *
         * @var ADOConnection
         */
        protected $db;
        
        /**
         * reference to the template parser
         *
         * @var mySmarty
         */
        protected $smarty;
        
        protected $log;     //reference to event logger
        
        
        /**
         * Constructor
         *
         * @param ADOConnection $db
         * @param object $log
         */
        function __construct(ADOConnection $db, mySmarty $smarty, $log){
            $this->db       = $db;
            $this->log      = $log;
            $this->smarty   = $smarty;
        }

        abstract public function process();
    }
?>